import request from '../utils/http'

export function Login(data) {
	return request({
		method: "post",
		url: "/login",
		data: data
	})
}

export function Register(data) {
	return request({
		method: "post",
		url: "/register",
		data: data
	})
}
export function checkOnly(account) {
	return request({
		method: "get",
		url: `/checkoutAccountOnly?account=${account}`,

	})
}